<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" th:href="@{/css/bootstrap.css}">
    <base th:href="|${#request.getScheme()}://${#request.getServerName()}:${#request.getServerPort()}${#request.getContextPath()}/|">
</head>
<body>
<p th:text="${classes}">所有的属性都可以写th:</p>
<div th:utext="${content}"></div>
<div>[[${content}]]</div>
<div th:text="${content}"></div>
<div th:text="${#request.getScheme()}"></div>      <!--http-->
<div th:text="${#request.getServerName()}"></div>  <!--localhost-->
<div th:text="${#request.getServerPort()}"></div>   <!--8888-->
<div th:text="${#request.getContextPath()}"></div>  <!--/stp-->
<!--  | abc ${classes} |-->
<!--<div th:text="|${#request.getScheme()}://${#request.getServerName()}:${#request.getServerPort()}${#request.getContextPath()}/|"></div>-->

<script th:src="@{/js/jquery-3.6.0.min.js}"></script>
<script th:src="@{/js/bootstrap.js}"></script>
<a href="method3">测试下Base！</a>
<!--<div th:text="${country}"></div>-->

<!--&lt;!&ndash; *{} 和 ${}的功能是一致的，区别在于*是用于th:object之后 表达的是选择对象的意思 &ndash;&gt;-->
<!--<div th:object="${session.user}">-->
<!--    &lt;!&ndash; *{} 直接选择上面object所关联对象的属性 &ndash;&gt;-->
<!--    <p th:text="*{name}"></p>-->
<!--</div>-->

<div th:text="${123}"></div>


<!--<div th:text="${5+2}"></div>-->
<!--<div th:text="${5/-2}"></div>-->
<!--<div th:text="${5*2}"></div>-->
<!--<div th:text="${5/2}"></div>-->
<!--<div th:text="${5%2}"></div>-->

<!--<div th:text="${not true}"></div>-->
<!--<div th:text="${true and true}"></div>-->
<!--<div th:text="${true or false}"></div>-->
<!--<div th:text="${!false}"></div>-->



<table>
    <tr>
        <th>编号</th>
        <th>姓名</th>
    </tr>
<!--    <tr th:each="u : ${session.userList}">-->
<!--        <td th:text="${u.id}"></td>-->
<!--        <td>[[${u.name}]]</td>-->
<!--    </tr>-->
</table>
</body>
</html>